package vn.com.mybudget.bo;


import java.lang.reflect.Type;

import vn.com.mybudget.da.DAFactoryInstance;
import vn.com.mybudget.da.inf.IDAFactory;

public class BOBase<IDA>{
	private IDA template;
	private IDAFactory _DAFactory = null;
	protected String _DAName;
	@SuppressWarnings("unchecked")
	public BOBase(String DAName) {
		_DAFactory = DAFactoryInstance.GetInstance();
		_DAName = DAName;
	}
	IDA getDAInstance() {
	    return _DAFactory.GetDAInstance(_DAName);
	}

}
